//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Cat Clyde','Moroccan Lounge','Los Angeles, CA','Friday','5/10/2024','6:30 PM','6265312','Cat-Clyde-5-10-2024'],['Niki Haris','Catalina Bar & Grill','Los Angeles, CA','Sunday','5/12/2024','8:30 PM','6305913','Niki-Haris-5-12-2024'],['Marcus King','The Wiltern','Los Angeles, CA','Tuesday','5/14/2024','7:00 PM','6257078','Marcus-King-5-14-2024'],['Dolphin Hyperspace','Moroccan Lounge','Los Angeles, CA','Wednesday','5/15/2024','9:30 PM','6360856','Dolphin-Hyperspace-5-15-2024'],['Jacob Collier','Greek Theatre - Los Angeles CA','Los Angeles, CA','Monday','5/20/2024','7:00 PM','6014509','Jacob-Collier-5-20-2024'],['Kimbra','The Masonic Lodge at Hollywood Forever','Los Angeles, CA','Tuesday','5/21/2024','8:00 PM','6347203','Kimbra-5-21-2024'],['Tedeschi Trucks Band','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','6/7/2024','7:00 PM','6287278','Tedeschi-Trucks-Band-6-7-2024'],['Empress Of','Roxy Theatre - CA','West Hollywood, CA','Friday','6/7/2024','10:00 PM','6236833','Empress-Of-6-7-2024'],['Empress Of','El Rey Theatre - Los Angeles','Los Angeles, CA','Friday','6/7/2024','10:00 PM','6314230','Empress-Of-6-7-2024'],['Alexander Stewart','Echoplex At The Echo','Los Angeles, CA','Saturday','6/8/2024','8:00 PM','6293510','Alexander-Stewart-6-8-2024'],['Empress Of','Roxy Theatre - CA','West Hollywood, CA','Saturday','6/8/2024','10:00 PM','6260493','Empress-Of-6-8-2024'],['Tedeschi Trucks Band','Greek Theatre - Los Angeles CA','Los Angeles, CA','Sunday','6/9/2024','7:00 PM','6287280','Tedeschi-Trucks-Band-6-9-2024'],['Halima','Moroccan Lounge','Los Angeles, CA','Wednesday','6/12/2024','9:30 PM','6376699','Halima-6-12-2024'],['Hollywood Bowl Jazz Festival','Hollywood Bowl','Los Angeles, CA','Saturday','6/15/2024','3:30 PM','6246467','Hollywood-Bowl-Jazz-Festival-6-15-2024'],['Hollywood Bowl Jazz Festival','Hollywood Bowl','Los Angeles, CA','Sunday','6/16/2024','3:30 PM','6246468','Hollywood-Bowl-Jazz-Festival-6-16-2024'],['Harry Connick Jr.','Hollywood Bowl','Los Angeles, CA','Tuesday','7/2/2024','7:30 PM','6091432','Harry-Connick-Jr--7-2-2024'],['July Fourth Fireworks Spectacular with Harry Connick Jr.','Hollywood Bowl','Los Angeles, CA','Wednesday','7/3/2024','7:30 PM','6117374','July-Fourth-Fireworks-Spectacular-with-Harry-Connick-Jr--7-3-2024'],['Harry Connick Jr.','Hollywood Bowl','Los Angeles, CA','Thursday','7/4/2024','7:30 PM','6088469','Harry-Connick-Jr--7-4-2024'],['Norah Jones','Greek Theatre - Los Angeles CA','Los Angeles, CA','Sunday','8/4/2024','7:30 PM','6281408','Norah-Jones-8-4-2024'],['Herbie Hancock: Head Hunters 50th','Hollywood Bowl','Los Angeles, CA','Wednesday','8/14/2024','8:00 PM','6252455','Herbie-Hancock--Head-Hunters-50th-8-14-2024'],['Smooth Summer Jazz','Hollywood Bowl','Los Angeles, CA','Sunday','8/18/2024','6:30 PM','6091507','Smooth-Summer-Jazz-8-18-2024'],['Trombone Shorty And Orleans Avenue & Big Boi','Hollywood Bowl','Los Angeles, CA','Wednesday','9/4/2024','8:00 PM','6252523','Trombone-Shorty-And-Orleans-Avenue---Big-Boi-9-4-2024'],['Hozier','The Kia Forum','Inglewood, CA','Tuesday','9/17/2024','8:00 PM','6072080','Hozier-9-17-2024'],['Hozier','The Kia Forum','Inglewood, CA','Wednesday','9/18/2024','8:00 PM','6093224','Hozier-9-18-2024'],['Hozier','The Kia Forum','Inglewood, CA','Friday','9/20/2024','8:00 PM','6239216','Hozier-9-20-2024'],['Julian Lage','The Downtown Palace Theatre','Los Angeles, CA','Sunday','9/22/2024','8:00 PM','6351991','Julian-Lage-9-22-2024'],['Devendra Banhart','John Anson Ford Theatre','Los Angeles, CA','Wednesday','10/2/2024','8:00 PM','6385091','Devendra-Banhart-10-2-2024'],['Mildlife','El Rey Theatre - Los Angeles','Los Angeles, CA','Thursday','10/3/2024','9:00 PM','6355483','Mildlife-10-3-2024'],['Jason Moran and The Big Bandwagon','Walt Disney Concert Hall','Los Angeles, CA','Friday','10/11/2024','8:00 PM','6305455','Jason-Moran-and-The-Big-Bandwagon-10-11-2024'],['Akiko Yano','Aratani Theatre','Los Angeles, CA','Saturday','10/12/2024','8:00 PM','6409683','Akiko-Yano-10-12-2024'],['Leslie Odom Jr.','Walt Disney Concert Hall','Los Angeles, CA','Sunday','12/1/2024','7:30 PM','6310240','Leslie-Odom-Jr--12-1-2024'],['Arturo Sandoval','Walt Disney Concert Hall','Los Angeles, CA','Monday','12/23/2024','8:00 PM','6312579','Arturo-Sandoval-12-23-2024'],['Samara Joy','Walt Disney Concert Hall','Los Angeles, CA','Friday','2/7/2025','8:00 PM','6305457','Samara-Joy-2-7-2025'],['Herbie Hancock','Walt Disney Concert Hall','Los Angeles, CA','Sunday','3/30/2025','7:30 PM','6305458','Herbie-Hancock-3-30-2025'],['Patrice Rushen','Walt Disney Concert Hall','Los Angeles, CA','Friday','5/2/2025','8:00 PM','6305460','Patrice-Rushen-5-2-2025'],['Jose James','Lodge Room Highland Park','Los Angeles, CA','Saturday','3/22/2070','TBD','4334037','Jose-James-3-22-2070']],'Los Angeles Blues','http://www.ticketnetwork.com/ticket/Los-Angeles-Blues-events.aspx');